package com.swu.pad.activity.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.swu.pad.activity.entity.ActivityGroupVision;

public interface ActivityGroupVisionDao extends JpaRepository<ActivityGroupVision, String> {

	public List<ActivityGroupVision> findActivityGroupVisionByActivityId(String activityId);

	public List<ActivityGroupVision> findActivityGroupVisionByActivityIdAndGroupType(String activityId, String groupType);

	public ActivityGroupVision findActivityGroupVisionByActivityIdAndGroupId(String activityId, String groupId);

	public void deleteByActivityId(String activityId);
}
